from google.appengine.ext import db


class MeasurePoint(db.Model):
    code = db.StringProperty()
    name = db.StringProperty()


class Pollution(db.Model):
    PM10 = db.FloatProperty()
    date = db.DateTimeProperty()
    measurePoint = db.ReferenceProperty(MeasurePoint)
